#pragma once

#ifndef _CSYNTHRESULTPACKET_H_
#define _CSYNTHRESULTPACKET_H_

#define SYNTH_SUCCESS		0x00
#define SYNTH_FAIL			0x01
#define SYNTH_INTERRUPT		0x02
#define SYNTH_BADRECIPE		0x03
#define SYNTH_CANCEL		0x04
#define SYNTH_FAILCRYSTAL	0x05
#define SYNTH_NOSKILL		0x06
#define SYNTH_CANCELRARE	0x07

#include "CBasicPacket.h"

class CTradeContainer;

class CSynthResultPacket : public CBasicPacket
{
public:
	
	// Only for displaying message
	CSynthResultPacket::CSynthResultPacket(unsigned char synthResult);
	// Only for success result and message
	CSynthResultPacket::CSynthResultPacket(unsigned short itemID, unsigned char quantity, unsigned char synthResult);
	// Only for failed lost items and message
	CSynthResultPacket::CSynthResultPacket(CTradeContainer * synthContainer, unsigned char synthResult);
	~CSynthResultPacket(void);
};

#endif